<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<p id="w"></p>
		<script>
			var c=0;
		    setInterval(function l(){
				var a={
					b:function(k,j){
						c=-Math.round(Math.random()*(j-k)-j);
						document.getElementById("w").innerHTML=c;
					}
				}
				a.b(diyige,dierge);
			},500);
			var diyige=prompt("小数");
			var dierge=prompt("大数");
			l();
			

			
		</script>
	</body>
</html>
